const int sensRR = A2;
const int sensMR = A3;
const int sensML = A4;
const int sensLL = A5;
const int sensHI = A0;

void sens(){
  int val = 0;
  val = digitalRead(sensRR);
  if(val == HIGH) left(speed);
  val = digitalRead(sensMR);
  if(val == HIGH) left(speed);
  val = digitalRead(sensML);
  if(val == HIGH) right(speed);
  val = digitalRead(sensLL);
  if(val == HIGH) right(speed);
  //val = digitalRead(sensHI);
  //if(val == HIGH) res=0;  
}
